<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
        <head><title>class ListSet in com.google.util</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.1.r14655-b20080415113712)" name="generator"></meta><link href="../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../script.js"></script>
        </head>
        <body onload="init()">
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">GData Scala Client Library Documentation</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
        
      <div class="entity">
        <a href="../../../com/google/util$package.html" target="_self">com.google.util</a>
        <br></br>
        <span class="entity">class  ListSet</span>
      </div><hr></hr>
      <div class="source">
        [source: <a href="" class="com/google/util/ListSet"><code>com/google/util/ListSet.scala</code></a>]
      </div><hr></hr>
      <a name="ListSet"></a><dl>
      <dt>
        
        <code></code>
        <code>class</code>
        <em>ListSet</em>[<em>A</em>]
      </dt>
      <dd><code> extends </code><a href="" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set</a>[<a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>]</dd>
    </dl>
      <dl><dd>A mutable Set backed by a List. Inserts are constant time, removes and contains
 are linear. Use when sets are supposed to remains small, and a HashSet would not
 fit the bill (for instance, no implementation of hashCode).</dd></dl>
      <dl><dt style="margin:10px 0 0 20px;">
        <b>Author</b></dt><dd>Iulian Dragos</dd><dt style="margin:10px 0 0 20px;">
        <b>See Also</b></dt><dd><a href="" target="contentFrame" class="scala/xml/NodeBuffer">scala.xml.NodeBuffer</a></dd></dl>
    
      <table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Additional Constructor Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../com/google/util/ListSet.html#this%28List%5BA%5D%29" target="_self">this</a></em>
        (<em>elems</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>]) : <a href="../../../com/google/util/ListSet.html" target="_self">ListSet</a>[<a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>]
        
        
      </td>
    </tr>
      </table>


<table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Method Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../com/google/util/ListSet.html#%2B%3D%28A%29" target="_self">+=</a></em>
        (<em>elem</em> : <a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../com/google/util/ListSet.html#-%3D%28A%29" target="_self">-=</a></em>
        (<em>elem</em> : <a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>override def</code>
      </td>
      <td class="signature">
        <em><a href="../../../com/google/util/ListSet.html#clone%28%29" target="_self">clone</a></em>
         : <a href="../../../com/google/util/ListSet.html" target="_self">ListSet</a>[<a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>]
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../com/google/util/ListSet.html#contains%28A%29" target="_self">contains</a></em>
        (<em>elem</em> : <a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../com/google/util/ListSet.html#elements" target="_self">elements</a></em>
         : <a href="" target="contentFrame" class="scala/Iterator">scala.Iterator</a>[<a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>]
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../com/google/util/ListSet.html#size" target="_self">size</a></em>
         : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
        
        
      </td>
    </tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="#update" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.update</a>, <a href="#+=" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.+=</a>, <a href="#++=" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.++=</a>, <a href="#++=" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.++=</a>, <a href="#+" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.+</a>, <a href="#+" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.+</a>, <a href="#++" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.++</a>, <a href="#++" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.++</a>, <a href="#incl" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.incl</a>, <a href="#-=" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.-=</a>, <a href="#--=" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.--=</a>, <a href="#--=" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.--=</a>, <a href="#-" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.-</a>, <a href="#-" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.-</a>, <a href="#--" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.--</a>, <a href="#--" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.--</a>, <a href="#excl" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.excl</a>, <a href="#intersect" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.intersect</a>, <a href="#retain" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.retain</a>, <a href="#clear" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.clear</a>, <a href="#&amp;lt;&amp;lt;" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.&lt;&lt;</a>, <a href="#readOnly" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.readOnly</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="" target="contentFrame" class="scala/collection/Set">scala.collection.Set</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="#apply" target="contentFrame" class="scala/collection/Set">scala.collection.Set.apply</a>, <a href="#isEmpty" target="contentFrame" class="scala/collection/Set">scala.collection.Set.isEmpty</a>, <a href="#subsetOf" target="contentFrame" class="scala/collection/Set">scala.collection.Set.subsetOf</a>, <a href="#*" target="contentFrame" class="scala/collection/Set">scala.collection.Set.*</a>, <a href="#**" target="contentFrame" class="scala/collection/Set">scala.collection.Set.**</a>, <a href="#equals" target="contentFrame" class="scala/collection/Set">scala.collection.Set.equals</a>, <a href="#hashCode" target="contentFrame" class="scala/collection/Set">scala.collection.Set.hashCode</a>, <a href="#toArray" target="contentFrame" class="scala/collection/Set">scala.collection.Set.toArray</a>, <a href="#stringPrefix" target="contentFrame" class="scala/collection/Set">scala.collection.Set.stringPrefix</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="" target="contentFrame" class="scala/Collection">scala.Collection</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="#toString" target="contentFrame" class="scala/Collection">scala.Collection.toString</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="#concat" target="contentFrame" class="scala/Iterable">scala.Iterable.concat</a>, <a href="#++" target="contentFrame" class="scala/Iterable">scala.Iterable.++</a>, <a href="#map" target="contentFrame" class="scala/Iterable">scala.Iterable.map</a>, <a href="#flatMap" target="contentFrame" class="scala/Iterable">scala.Iterable.flatMap</a>, <a href="#filter" target="contentFrame" class="scala/Iterable">scala.Iterable.filter</a>, <a href="#partition" target="contentFrame" class="scala/Iterable">scala.Iterable.partition</a>, <a href="#takeWhile" target="contentFrame" class="scala/Iterable">scala.Iterable.takeWhile</a>, <a href="#dropWhile" target="contentFrame" class="scala/Iterable">scala.Iterable.dropWhile</a>, <a href="#take" target="contentFrame" class="scala/Iterable">scala.Iterable.take</a>, <a href="#drop" target="contentFrame" class="scala/Iterable">scala.Iterable.drop</a>, <a href="#foreach" target="contentFrame" class="scala/Iterable">scala.Iterable.foreach</a>, <a href="#forall" target="contentFrame" class="scala/Iterable">scala.Iterable.forall</a>, <a href="#exists" target="contentFrame" class="scala/Iterable">scala.Iterable.exists</a>, <a href="#find" target="contentFrame" class="scala/Iterable">scala.Iterable.find</a>, <a href="#findIndexOf" target="contentFrame" class="scala/Iterable">scala.Iterable.findIndexOf</a>, <a href="#indexOf" target="contentFrame" class="scala/Iterable">scala.Iterable.indexOf</a>, <a href="#foldLeft" target="contentFrame" class="scala/Iterable">scala.Iterable.foldLeft</a>, <a href="#foldRight" target="contentFrame" class="scala/Iterable">scala.Iterable.foldRight</a>, <a href="#/:" target="contentFrame" class="scala/Iterable">scala.Iterable./:</a>, <a href="#:\" target="contentFrame" class="scala/Iterable">scala.Iterable.:\</a>, <a href="#reduceLeft" target="contentFrame" class="scala/Iterable">scala.Iterable.reduceLeft</a>, <a href="#reduceRight" target="contentFrame" class="scala/Iterable">scala.Iterable.reduceRight</a>, <a href="#copyToBuffer" target="contentFrame" class="scala/Iterable">scala.Iterable.copyToBuffer</a>, <a href="#sameElements" target="contentFrame" class="scala/Iterable">scala.Iterable.sameElements</a>, <a href="#toList" target="contentFrame" class="scala/Iterable">scala.Iterable.toList</a>, <a href="#toSeq" target="contentFrame" class="scala/Iterable">scala.Iterable.toSeq</a>, <a href="#toStream" target="contentFrame" class="scala/Iterable">scala.Iterable.toStream</a>, <a href="#mkString" target="contentFrame" class="scala/Iterable">scala.Iterable.mkString</a>, <a href="#mkString" target="contentFrame" class="scala/Iterable">scala.Iterable.mkString</a>, <a href="#mkString" target="contentFrame" class="scala/Iterable">scala.Iterable.mkString</a>, <a href="#addString" target="contentFrame" class="scala/Iterable">scala.Iterable.addString</a>, <a href="#addString" target="contentFrame" class="scala/Iterable">scala.Iterable.addString</a>, <a href="#copyToArray" target="contentFrame" class="scala/Iterable">scala.Iterable.copyToArray</a>, <a href="#projection" target="contentFrame" class="scala/Iterable">scala.Iterable.projection</a>, <a href="#hasDefiniteSize" target="contentFrame" class="scala/Iterable">scala.Iterable.hasDefiniteSize</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a>
        </td></tr>
      </table>


      <table summary="" cellpadding="3" class="member-detail">
          <tr><td class="title">Additional Constructor Details</td></tr>
        </table><div><a name="this%28List%5BA%5D%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>this</em>(<em>elems</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>]) : <a href="../../../com/google/util/ListSet.html" target="_self">ListSet</a>[<a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>]
      </dt>
      <dd></dd>
    </dl><hr></hr></div>


<table summary="" cellpadding="3" class="member-detail">
          <tr><td class="title">Method Details</td></tr>
        </table><div><a name="%2B%3D%28A%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>+=</em>(<em>elem</em> : <a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><dl>
        <dt style="margin:10px 0 0 20px;">
          <b>Overrides</b>
        </dt>
        <dd>
        <a href="" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set</a>.<a href="#+=" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.+=</a>
        </dd>
      </dl><hr></hr>
<a name="-%3D%28A%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>-=</em>(<em>elem</em> : <a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><dl>
        <dt style="margin:10px 0 0 20px;">
          <b>Overrides</b>
        </dt>
        <dd>
        <a href="" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set</a>.<a href="#-=" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.-=</a>
        </dd>
      </dl><hr></hr>
<a name="clone%28%29"></a><dl>
      <dt>
        
        <code>override</code>
        <code>def</code>
        <em>clone</em> : <a href="../../../com/google/util/ListSet.html" target="_self">ListSet</a>[<a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>]
      </dt>
      <dd></dd>
    </dl><dl>
        <dt style="margin:10px 0 0 20px;">
          <b>Overrides</b>
        </dt>
        <dd>
        <a href="" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set</a>.<a href="#clone" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set.clone</a>
        </dd>
      </dl><hr></hr>
<a name="size"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>size</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="contains%28A%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>contains</em>(<em>elem</em> : <a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="elements"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>elements</em> : <a href="" target="contentFrame" class="scala/Iterator">scala.Iterator</a>[<a href="../../../com/google/util/ListSet.html#A" target="_self">A</a>]
      </dt>
      <dd></dd>
    </dl><hr></hr></div>


    <hr></hr>
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">GData Scala Client Library Documentation</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
      </body>
      </html>